package com.efounder.bean;


import com.thoughtworks.xstream.mapper.Mapper;

import java.util.List;

/**
 * Created by wei on 2018/1/25/025.
 */

public class DetailsDatas {

    /**
     * result : success
     * isCollection : 0
     * goodTotalCount : 0
     * good : {"goodId":"001161350000017","typeBh":"0202","goodName":"THERMOS 膳魔师 超轻真空大容量保温杯旅行必备 JNL系列500毫升","description":"暖胃又暖心","brand":{"brandId":5,"typeBh":"0202","brandName":"膳魔师","brandIcon":"https://img11.360buyimg.com/n7/jfs/t2719/125/1681973181/96580/7d6ce830/57453ad3N27dc8d7b.jpg","brandStatus":1},"goodStatus":1,"goodCover":"http://haitao.nosdn3.127.net/onlineihleg5si12989.jpg","goodUrl":"https://m.kaola.com/product_detail/1398110.html?network=wifi&platform=1&imgtype=webp&deviceUdID=b538ba50e75af92e7dbfb88af1f25489157cf2b6&appVersion=3.10.0&deviceUdidToken=89F1CB9FE5DE1684C834EC3C64F4D8A4568D0F2C25A911EC81837AC5F3324FB7268A94DBE6C7103B0C2260805D1F4FD8&version=30100030&width=1080&appChannel=298&apiVersion=207","mallShop":{"shopBh":"129674","shopName":"Five_Plus","shopToplog":null,"shopBrandlog":"https://pop.nosdn.127.net/16b8bf33-544e-4d91-8393-733698a1544a?imageView&thumbnail=150x0&quality=85&"},"goodDiscounts":[{"discountTypeId":"1","discountTypeName":"银钻积分","discountRatio":"10000","goodBh":"001161350000017","discountRuleId":"1","discountAmount":1000},{"discountTypeId":"2","discountTypeName":"能量币","discountRatio":"10","goodBh":"001161350000017","discountRuleId":"2","discountAmount":100}],"prices":[{"id":"1398","price":0.07,"startTime":1519894064000,"endTime":1519894064000,"priceType":1}],"pictures":[{"id":7,"picUrl":"http://haitao.nosdn3.127.net/onlineihleg5si12989.jpg","picStatus":1,"sellerId":null,"shopId":null,"goodBh":null},{"id":8,"picUrl":"http://haitao.nos.netease.com/iv3lvwfp17_800_800.jpg","picStatus":1,"sellerId":null,"shopId":null,"goodBh":null},{"id":9,"picUrl":"http://haitao.nos.netease.com/1bgpn7irk82_800_800.jpg","picStatus":1,"sellerId":null,"shopId":null,"goodBh":null},{"id":10,"picUrl":"http://haitao.nosdn1.127.net/onlineihleg8i212990.jpg","picStatus":1,"sellerId":null,"shopId":null,"goodBh":null},{"id":11,"picUrl":"http://haitao.nos.netease.com/iv3lvwtg63_800_800.jpg","picStatus":1,"sellerId":null,"shopId":null,"goodBh":null}],"goodSkus":[],"mallActivitys":[null]}
     */

    private String result;
    private int isCollection;
    private int goodTotalCount;
    private GoodBean good;
    private TreasureBean treasureBean;

    public TreasureBean getTreasureBean() {
        return treasureBean;
    }

    public void setTreasureBean(TreasureBean treasureBean) {
        this.treasureBean = treasureBean;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public int getIsCollection() {
        return isCollection;
    }

    public void setIsCollection(int isCollection) {
        this.isCollection = isCollection;
    }

    public int getGoodTotalCount() {
        return goodTotalCount;
    }

    public void setGoodTotalCount(int goodTotalCount) {
        this.goodTotalCount = goodTotalCount;
    }

    public GoodBean getGood() {
        return good;
    }

    public void setGood(GoodBean good) {
        this.good = good;
    }

    public static class GoodBean {
        /**
         * goodId : 001161350000017
         * typeBh : 0202
         * goodName : THERMOS 膳魔师 超轻真空大容量保温杯旅行必备 JNL系列500毫升
         * description : 暖胃又暖心
         * brand : {"brandId":5,"typeBh":"0202","brandName":"膳魔师","brandIcon":"https://img11.360buyimg.com/n7/jfs/t2719/125/1681973181/96580/7d6ce830/57453ad3N27dc8d7b.jpg","brandStatus":1}
         * goodStatus : 1
         * goodCover : http://haitao.nosdn3.127.net/onlineihleg5si12989.jpg
         * goodUrl : https://m.kaola.com/product_detail/1398110.html?network=wifi&platform=1&imgtype=webp&deviceUdID=b538ba50e75af92e7dbfb88af1f25489157cf2b6&appVersion=3.10.0&deviceUdidToken=89F1CB9FE5DE1684C834EC3C64F4D8A4568D0F2C25A911EC81837AC5F3324FB7268A94DBE6C7103B0C2260805D1F4FD8&version=30100030&width=1080&appChannel=298&apiVersion=207
         * mallShop : {"shopBh":"129674","shopName":"Five_Plus","shopToplog":null,"shopBrandlog":"https://pop.nosdn.127.net/16b8bf33-544e-4d91-8393-733698a1544a?imageView&thumbnail=150x0&quality=85&"}
         * goodDiscounts : [{"discountTypeId":"1","discountTypeName":"银钻积分","discountRatio":"10000","goodBh":"001161350000017","discountRuleId":"1","discountAmount":1000},{"discountTypeId":"2","discountTypeName":"能量币","discountRatio":"10","goodBh":"001161350000017","discountRuleId":"2","discountAmount":100}]
         * prices : [{"id":"1398","price":0.07,"startTime":1519894064000,"endTime":1519894064000,"priceType":1}]
         * pictures : [{"id":7,"picUrl":"http://haitao.nosdn3.127.net/onlineihleg5si12989.jpg","picStatus":1,"sellerId":null,"shopId":null,"goodBh":null},{"id":8,"picUrl":"http://haitao.nos.netease.com/iv3lvwfp17_800_800.jpg","picStatus":1,"sellerId":null,"shopId":null,"goodBh":null},{"id":9,"picUrl":"http://haitao.nos.netease.com/1bgpn7irk82_800_800.jpg","picStatus":1,"sellerId":null,"shopId":null,"goodBh":null},{"id":10,"picUrl":"http://haitao.nosdn1.127.net/onlineihleg8i212990.jpg","picStatus":1,"sellerId":null,"shopId":null,"goodBh":null},{"id":11,"picUrl":"http://haitao.nos.netease.com/iv3lvwtg63_800_800.jpg","picStatus":1,"sellerId":null,"shopId":null,"goodBh":null}]
         * goodSkus : []
         * mallActivitys : [null]
         */

        private String goodId;
        private String typeBh;
        private String goodName;
        private String description;
        private BrandBean brand;
        private int goodStatus;
        private String goodCover;
        private String goodUrl;
        private MallShopBean mallShop;
        private List<GoodDiscountsBean> goodDiscounts;
        private List<PricesBean> prices;
        private MallGoodPrice mallGoodPrice;
        private List<PicturesBean> pictures;
        private List<GoodSkusBean> goodSkus;
        private List<Mapper.Null> mallActivitys;
        private String startTime;
        private String endTime;
        private int timeToBuyStatus;
        private int enableAddCart;

        public String getStartTime() {
            return startTime;
        }

        public void setStartTime(String startTime) {
            this.startTime = startTime;
        }

        public String getEndTime() {
            return endTime;
        }

        public void setEndTime(String endTime) {
            this.endTime = endTime;
        }

        public int getTimeToBuyStatus() {
            return timeToBuyStatus;
        }

        public void setTimeToBuyStatus(int timeToBuyStatus) {
            this.timeToBuyStatus = timeToBuyStatus;
        }

        public int getEnableAddCart() {
            return enableAddCart;
        }

        public void setEnableAddCart(int enableAddCart) {
            this.enableAddCart = enableAddCart;
        }

        public MallGoodPrice getMallGoodPrice() {
            return mallGoodPrice;
        }

        public void setMallGoodPrice(MallGoodPrice mallGoodPrice) {
            this.mallGoodPrice = mallGoodPrice;
        }

        public void setGoodSkus(List<GoodSkusBean> goodSkus) {
            this.goodSkus = goodSkus;
        }

        public List<GoodSkusBean> getGoodSkus() {
            return goodSkus;
        }

        public String getGoodId() {
            return goodId;
        }

        public void setGoodId(String goodId) {
            this.goodId = goodId;
        }

        public String getTypeBh() {
            return typeBh;
        }

        public void setTypeBh(String typeBh) {
            this.typeBh = typeBh;
        }

        public String getGoodName() {
            return goodName;
        }

        public void setGoodName(String goodName) {
            this.goodName = goodName;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public BrandBean getBrand() {
            return brand;
        }

        public void setBrand(BrandBean brand) {
            this.brand = brand;
        }

        public int getGoodStatus() {
            return goodStatus;
        }

        public void setGoodStatus(int goodStatus) {
            this.goodStatus = goodStatus;
        }

        public String getGoodCover() {
            return goodCover;
        }

        public void setGoodCover(String goodCover) {
            this.goodCover = goodCover;
        }

        public String getGoodUrl() {
            return goodUrl;
        }

        public void setGoodUrl(String goodUrl) {
            this.goodUrl = goodUrl;
        }

        public MallShopBean getMallShop() {
            return mallShop;
        }

        public void setMallShop(MallShopBean mallShop) {
            this.mallShop = mallShop;
        }

        public List<GoodDiscountsBean> getGoodDiscounts() {
            return goodDiscounts;
        }

        public void setGoodDiscounts(List<GoodDiscountsBean> goodDiscounts) {
            this.goodDiscounts = goodDiscounts;
        }

        public List<PricesBean> getPrices() {
            return prices;
        }

        public void setPrices(List<PricesBean> prices) {
            this.prices = prices;
        }

        public List<PicturesBean> getPictures() {
            return pictures;
        }

        public void setPictures(List<PicturesBean> pictures) {
            this.pictures = pictures;
        }

        public List<Mapper.Null> getMallActivitys() {
            return mallActivitys;
        }

        public void setMallActivitys(List<Mapper.Null> mallActivitys) {
            this.mallActivitys = mallActivitys;
        }
        public static class MallGoodPrice {

            /**
             * goodBh : 001161350000017
             * price : 129.0
             * tagPrice : 199.0
             * priceUnitId : 0
             * priceUnit : ￥
             */

            private String goodBh;
            private double price;
            private double tagPrice;
            private int priceUnitId;
            private String priceUnit;

            public String getGoodBh() {
                return goodBh;
            }

            public void setGoodBh(String goodBh) {
                this.goodBh = goodBh;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public double getTagPrice() {
                return tagPrice;
            }

            public void setTagPrice(double tagPrice) {
                this.tagPrice = tagPrice;
            }

            public int getPriceUnitId() {
                return priceUnitId;
            }

            public void setPriceUnitId(int priceUnitId) {
                this.priceUnitId = priceUnitId;
            }

            public String getPriceUnit() {
                return priceUnit;
            }

            public void setPriceUnit(String priceUnit) {
                this.priceUnit = priceUnit;
            }
        }

        public static class BrandBean {
            /**
             * brandId : 5
             * typeBh : 0202
             * brandName : 膳魔师
             * brandIcon : https://img11.360buyimg.com/n7/jfs/t2719/125/1681973181/96580/7d6ce830/57453ad3N27dc8d7b.jpg
             * brandStatus : 1
             */

            private int brandId;
            private String typeBh;
            private String brandName;
            private String brandIcon;
            private int brandStatus;

            public int getBrandId() {
                return brandId;
            }

            public void setBrandId(int brandId) {
                this.brandId = brandId;
            }

            public String getTypeBh() {
                return typeBh;
            }

            public void setTypeBh(String typeBh) {
                this.typeBh = typeBh;
            }

            public String getBrandName() {
                return brandName;
            }

            public void setBrandName(String brandName) {
                this.brandName = brandName;
            }

            public String getBrandIcon() {
                return brandIcon;
            }

            public void setBrandIcon(String brandIcon) {
                this.brandIcon = brandIcon;
            }

            public int getBrandStatus() {
                return brandStatus;
            }

            public void setBrandStatus(int brandStatus) {
                this.brandStatus = brandStatus;
            }
        }

        public static class MallShopBean {
            /**
             * shopBh : 129674
             * shopName : Five_Plus
             * shopToplog : null
             * shopBrandlog : https://pop.nosdn.127.net/16b8bf33-544e-4d91-8393-733698a1544a?imageView&thumbnail=150x0&quality=85&
             */
            private int shopImUserid;
            private String shopBh;
            private String shopName;
            private Object shopToplog;
            private String shopBrandlog;

            public int getShopImUserid() {
                return shopImUserid;
            }

            public void setShopImUserid(int shopImUserid) {
                this.shopImUserid = shopImUserid;
            }

            public String getShopBh() {
                return shopBh;
            }

            public void setShopBh(String shopBh) {
                this.shopBh = shopBh;
            }

            public String getShopName() {
                return shopName;
            }

            public void setShopName(String shopName) {
                this.shopName = shopName;
            }

            public Object getShopToplog() {
                return shopToplog;
            }

            public void setShopToplog(Object shopToplog) {
                this.shopToplog = shopToplog;
            }

            public String getShopBrandlog() {
                return shopBrandlog;
            }

            public void setShopBrandlog(String shopBrandlog) {
                this.shopBrandlog = shopBrandlog;
            }
        }

        public static class GoodDiscountsBean {
            /**
             * discountTypeId : 1
             * discountTypeName : 银钻积分
             * discountRatio : 10000
             * goodBh : 001161350000017
             * discountRuleId : 1
             * discountAmount : 1000
             */

            private String discountTypeId;
            private String discountTypeName;
            private String discountRatio;
            private String goodBh;
            private String discountRuleId;
            private double discountAmount;

            public String getDiscountTypeId() {
                return discountTypeId;
            }

            public void setDiscountTypeId(String discountTypeId) {
                this.discountTypeId = discountTypeId;
            }

            public String getDiscountTypeName() {
                return discountTypeName;
            }

            public void setDiscountTypeName(String discountTypeName) {
                this.discountTypeName = discountTypeName;
            }

            public String getDiscountRatio() {
                return discountRatio;
            }

            public void setDiscountRatio(String discountRatio) {
                this.discountRatio = discountRatio;
            }

            public String getGoodBh() {
                return goodBh;
            }

            public void setGoodBh(String goodBh) {
                this.goodBh = goodBh;
            }

            public String getDiscountRuleId() {
                return discountRuleId;
            }

            public void setDiscountRuleId(String discountRuleId) {
                this.discountRuleId = discountRuleId;
            }

            public double getDiscountAmount() {
                return discountAmount;
            }

            public void setDiscountAmount(double discountAmount) {
                this.discountAmount = discountAmount;
            }
        }

        public static class PricesBean {
            /**
             * id : 1398
             * price : 0.07
             * startTime : 1519894064000
             * endTime : 1519894064000
             * priceType : 1
             */

            private String id;
            private double price;
            private long startTime;
            private long endTime;
            private int priceType;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public long getStartTime() {
                return startTime;
            }

            public void setStartTime(long startTime) {
                this.startTime = startTime;
            }

            public long getEndTime() {
                return endTime;
            }

            public void setEndTime(long endTime) {
                this.endTime = endTime;
            }

            public int getPriceType() {
                return priceType;
            }

            public void setPriceType(int priceType) {
                this.priceType = priceType;
            }
        }

        public static class PicturesBean {
            /**
             * id : 7
             * picUrl : http://haitao.nosdn3.127.net/onlineihleg5si12989.jpg
             * picStatus : 1
             * sellerId : null
             * shopId : null
             * goodBh : null
             */

            private String id;
            private String picUrl;
            private int picStatus;
            private Object sellerId;
            private Object shopId;
            private Object goodBh;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getPicUrl() {
                return picUrl;
            }

            public void setPicUrl(String picUrl) {
                this.picUrl = picUrl;
            }

            public int getPicStatus() {
                return picStatus;
            }

            public void setPicStatus(int picStatus) {
                this.picStatus = picStatus;
            }

            public Object getSellerId() {
                return sellerId;
            }

            public void setSellerId(Object sellerId) {
                this.sellerId = sellerId;
            }

            public Object getShopId() {
                return shopId;
            }

            public void setShopId(Object shopId) {
                this.shopId = shopId;
            }

            public Object getGoodBh() {
                return goodBh;
            }

            public void setGoodBh(Object goodBh) {
                this.goodBh = goodBh;
            }
        }
    }

    public static class TreasureBean{
        /**
         * data : {"goodsInfo":{"total":10,"goodsId":"001161350000028","winnerId":"0","stockSize":10,"otherCoinAddress":"0x0","consumers":[],"oneChanceAddress":"0x1fe7014f1aed0df06cd994388d64d276bcd37604","id":4,"isActive":true,"amt":"100","winnerAddress":"0x0000000000000000000000000000000000000000","stableAndOtherCoinPrice":"0","stableCoinPrice":"10","description":"【购iPhone XS Max享12期白条免息！】配备A12仿生芯片，6.5英寸OLED显示屏，1200万像素后置双镜头，支持双卡","name":"Apple iPhone XS Max (A2104) 256GB 金色 移动联通电信4G手机 双卡双待","otherCoinPrice":"0","consumersLength":0}}
         * code : 0
         * msg : 成功获取编号为001161350000028的商品信息
         */

        private DataBean data;
        private int code;
        private String msg;


        public DataBean getData() {
            return data;
        }

        public void setData(DataBean data) {
            this.data = data;
        }

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public static class DataBean {
            /**
             * goodsInfo : {"total":10,"goodsId":"001161350000028","winnerId":"0","stockSize":10,"otherCoinAddress":"0x0","consumers":[],"oneChanceAddress":"0x1fe7014f1aed0df06cd994388d64d276bcd37604","id":4,"isActive":true,"amt":"100","winnerAddress":"0x0000000000000000000000000000000000000000","stableAndOtherCoinPrice":"0","stableCoinPrice":"10","description":"【购iPhone XS Max享12期白条免息！】配备A12仿生芯片，6.5英寸OLED显示屏，1200万像素后置双镜头，支持双卡","name":"Apple iPhone XS Max (A2104) 256GB 金色 移动联通电信4G手机 双卡双待","otherCoinPrice":"0","consumersLength":0}
             */

            private GoodsInfoBean goodsInfo;

            public GoodsInfoBean getGoodsInfo() {
                return goodsInfo;
            }

            public void setGoodsInfo(GoodsInfoBean goodsInfo) {
                this.goodsInfo = goodsInfo;
            }

            public static class GoodsInfoBean {
                /**
                 * total : 10
                 * goodsId : 001161350000028
                 * winnerId : 0
                 * stockSize : 10
                 * otherCoinAddress : 0x0
                 * consumers : []
                 * oneChanceAddress : 0x1fe7014f1aed0df06cd994388d64d276bcd37604
                 * id : 4
                 * isActive : true
                 * amt : 100
                 * winnerAddress : 0x0000000000000000000000000000000000000000
                 * stableAndOtherCoinPrice : 0
                 * stableCoinPrice : 10
                 * description : 【购iPhone XS Max享12期白条免息！】配备A12仿生芯片，6.5英寸OLED显示屏，1200万像素后置双镜头，支持双卡
                 * name : Apple iPhone XS Max (A2104) 256GB 金色 移动联通电信4G手机 双卡双待
                 * otherCoinPrice : 0
                 * consumersLength : 0
                 */

                private int total;
                private String goodsId;
                private String winnerId;
                private int stockSize;
                private String otherCoinAddress;
                private String oneChanceAddress;
                private int id;
                private boolean isActive;
                private String amt;
                private String winnerAddress;
                private String stableAndOtherCoinPrice;
                private String stableCoinPrice;
                private String description;
                private String name;
                private String otherCoinPrice;
                private int consumersLength;
                private List<?> consumers;

                public int getTotal() {
                    return total;
                }

                public void setTotal(int total) {
                    this.total = total;
                }

                public String getGoodsId() {
                    return goodsId;
                }

                public void setGoodsId(String goodsId) {
                    this.goodsId = goodsId;
                }

                public String getWinnerId() {
                    return winnerId;
                }

                public void setWinnerId(String winnerId) {
                    this.winnerId = winnerId;
                }

                public int getStockSize() {
                    return stockSize;
                }

                public void setStockSize(int stockSize) {
                    this.stockSize = stockSize;
                }

                public String getOtherCoinAddress() {
                    return otherCoinAddress;
                }

                public void setOtherCoinAddress(String otherCoinAddress) {
                    this.otherCoinAddress = otherCoinAddress;
                }

                public String getOneChanceAddress() {
                    return oneChanceAddress;
                }

                public void setOneChanceAddress(String oneChanceAddress) {
                    this.oneChanceAddress = oneChanceAddress;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public boolean isIsActive() {
                    return isActive;
                }

                public void setIsActive(boolean isActive) {
                    this.isActive = isActive;
                }

                public String getAmt() {
                    return amt;
                }

                public void setAmt(String amt) {
                    this.amt = amt;
                }

                public String getWinnerAddress() {
                    return winnerAddress;
                }

                public void setWinnerAddress(String winnerAddress) {
                    this.winnerAddress = winnerAddress;
                }

                public String getStableAndOtherCoinPrice() {
                    return stableAndOtherCoinPrice;
                }

                public void setStableAndOtherCoinPrice(String stableAndOtherCoinPrice) {
                    this.stableAndOtherCoinPrice = stableAndOtherCoinPrice;
                }

                public String getStableCoinPrice() {
                    return stableCoinPrice;
                }

                public void setStableCoinPrice(String stableCoinPrice) {
                    this.stableCoinPrice = stableCoinPrice;
                }

                public String getDescription() {
                    return description;
                }

                public void setDescription(String description) {
                    this.description = description;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getOtherCoinPrice() {
                    return otherCoinPrice;
                }

                public void setOtherCoinPrice(String otherCoinPrice) {
                    this.otherCoinPrice = otherCoinPrice;
                }

                public int getConsumersLength() {
                    return consumersLength;
                }

                public void setConsumersLength(int consumersLength) {
                    this.consumersLength = consumersLength;
                }

                public List<?> getConsumers() {
                    return consumers;
                }

                public void setConsumers(List<?> consumers) {
                    this.consumers = consumers;
                }
            }
        }
    }
}
